﻿' LibWowAPI
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowAPI.Item

    ''' <summary>
    ''' A class containing information about a spell.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Spell

        ''' <summary>
        ''' The ID number of the spell.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ID As Integer

        ''' <summary>
        ''' The name of the spell.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Name As String

        ''' <summary>
        ''' The subtext of the spell.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Subtext As String

        ''' <summary>
        ''' A path leading to the spell's icon on the server.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Icon As String

        ''' <summary>
        ''' A description of the spell.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Description As String

        ''' <summary>
        ''' The spell's range.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Range As String

        ''' <summary>
        ''' The spell's cast time.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property CastTime As String

        Protected Friend Sub New(intID As Integer, strName As String, strSubtext As String, strIcon As String, strDescription As String, strRange As String, strCastTime As String)
            ID = intID
            Name = strName
            Subtext = strSubtext
            Icon = strIcon
            Description = strDescription
            Range = strRange
            CastTime = strCastTime
        End Sub

    End Class

End Namespace
